'use strict';

const Controller = require('egg').Controller;

class BlogController extends Controller {
  async add() {
    const data = await this.ctx.service.blog.add()
    this.ctx.body = data;
  }
}

module.exports = BlogController;